require('../css/commCss/normalize.css')
require('../css/commCss/reset.css')
require('../css/commCss/property.css')
require('../css/commCss/basic.css')

require('../css/countdown.less')


document.addEventListener('DOMContentLoaded', function () {

const box = document.querySelector('.box')

let num = 3

let time = setInterval(function () {
    num--
    if (num == 0) {
        clearInterval(time)
        location.href = 'home.html'
    } else {
        box.textContent = num
    }
}, 1000)

})